import React, {Component} from 'react'
import {Link} from 'react-router-dom'

export default class FilmList extends Component {
	constructor(){
		super();
		
	}
	render(){
		return(
			{
				<ul>
					{
						this.state.filmList1.map((item,index)=>{
							return(
								<li key={index}>
									<div class="left img">									
										<img src={item.imgpath} />
									</div>
									<div class="film-introduce left">
										<h4>
											{item.name}
											<span class="right"><i>&gt;</i></span>
										</h4>
										<p>{item.intro}</p>
										<p><span>{item.showdate}上映</span> <span>{item.showweek}</span></p>
									</div>
								</li>
							)
						})
					}	
				</ul>
			}
		)
	}
}
